home *** CD-ROM | disk | FTP | other *** search
/ 500 MB Nyheder Direkte fra Internet 2 / 500 MB nyheder direkte fra internet CD 2.iso / start / data / text / faq-1611.txt < prev    next >
Text File  |  1995-05-01  |  45KB  |  937 lines

  1. Archive-name: www/faq/part2
  2. Last-modified: 1995/26/1
  3.  
  4.    
  5.                 5.1: HOW CAN I PROVIDE INFORMATION TO THE WEB?
  6.                                        
  7.    
  8.    
  9.    Information providers run programs that the browsers can obtain
  10.    hypertext from. These programs can either be WWW servers that
  11.    understand the HyperText Transfer Protocol HTTP (best if you are
  12.    creating your information database from scratch), "gateway" programs
  13.    that convert an existing information format to hypertext, or a
  14.    non-HTTP server that WWW browsers can access -- anonymous FTP or
  15.    gopher, for example.
  16.    
  17.    To learn more about World Wide Web servers, you can consult a www
  18.    server primer by Nathan Torkington, available at the URL
  19.    http://www.vuw.ac.nz/who/Nathan.Torkington/ideas/www-servers.html .
  20.    
  21.    If you only want to provide information to local users, placing your
  22.    information in local files is also an option. This means, however,
  23.    that there can be no off-machine access.
  24.    
  25. 5.2: Obtaining Servers
  26.  
  27.    Servers are available for Unix, Macintosh, MS Windows, Windows NT,
  28.    OS/2, and VMS systems. If you know of a server for another operating
  29.    system, please contact me.
  30.    
  31.    See http://info.cern.ch/hypertext/WWW/Daemon/Overview.html for more
  32.    information on writing servers and gateways in general.
  33.    
  34.   5.2.1: UNIX SERVERS
  35.   
  36.    NCSA httpd
  37.           NCSA has released a server, known as the NCSA httpd; it is
  38.           available at the URL ftp://ftp.ncsa.uiuc.edu/Web/ncsa_httpd .
  39.           
  40.    EIT httpd
  41.           EIT has created the Webmaster's Starter Kit, which installs
  42.           their WWW server on your system via the web through a painless
  43.           forms interface. Recommended for those unfamiliar with server
  44.           installation. You can learn more about the starter kit and the
  45.           EIT httpd at the starter kit site (URL is
  46.           http://wsk.eit.com/wsk/doc/ ).
  47.           
  48.    CERN httpd
  49.           CERN's server is available for anonymous FTP from info.cern.ch
  50.           (URL is http://info.cern.ch/hypertext/WWW/Daemon/Status.html )
  51.           and many other places. Use your local copy of archie to search
  52.           for "www" in order to find a nearby site.
  53.           
  54.    GN Gopher/HTTP server
  55.           The GN server is unique in that it can serve both WWW and
  56.           Gopher clients (in their native modes). This is a good server
  57.           for those migrating from Gopher to WWW, although it does not
  58.           have the server-side-script capabilities of the NCSA and CERN
  59.           servers. See the URL http://hopf.math.nwu.edu/ .
  60.           
  61.    Perl server
  62.           There is also a server written in the Perl scripting language,
  63.           called Plexus, for which documentation is available at the URL
  64.           http://bsdi.com/server/doc/plexus.html .
  65.           
  66.    WN Server
  67.           The WN Server, available at the URL
  68.           http://hopf.math.nwu.edu/docs/manual.html , is designed with an
  69.           emphasis on security and flexibility, and takes a different
  70.           approach from the NCSA and CERN servers. It provides text
  71.           searching facilities as a standard feature.
  72.           
  73.   5.2.2: MACINTOSH SERVERS
  74.   
  75.    There is a server for the Macintosh, MacHTTP, available at the URL
  76.    http://www.uth.tmc.edu/mac_info/machttp_info.html .
  77.    
  78.   5.2.3: MS WINDOWS, IBM OS/2 AND MS WINDOWS NT SERVERS
  79.   
  80.    HTTPS (Windows NT)
  81.           HTTPS is a server for Windows NT systems, both Intel and Alpha
  82.           -- based. It is available via anonymous FTP from emwac.ed.ac.uk
  83.           in the directory pub/https (URL is
  84.           ftp://emwac.ed.ac.uk/pub/https). (Be sure to download the
  85.           version appropriate to your processor.) You can read a detailed
  86.           announcement at the FTP site, or by using the URL
  87.           ftp://emwac.ed.ac.uk/pub/https/https.txt.
  88.           
  89.           A professional version is also available (URL is
  90.           http://emwac.ed.ac.uk/html/internet_toolchest/https/prof.htm ).
  91.           
  92.    NCSA httpd for Windows
  93.           The NCSA httpd for Windows has most of the features of the Unix
  94.           version, including scripts (which generate pages on the fly
  95.           based on user input). It is available by anonymous FTP from the
  96.           ftp site ftp.alisa.com in the directory pub/win-httpd, and
  97.           documentation can be found at the URL
  98.           http://www.alisa.com/win-httpd/index.html .
  99.           
  100.    SerWeb
  101.           A simple, effective server for Windows writtten by Gustavo
  102.           Estrella. Available by anonymous ftp from
  103.           winftp.cica.indiana.edu (or one of its mirror sites, such as
  104.           nic.switch.ch), as the file serweb03.zip, in the directory
  105.           /pub/pc/win3/winsock.
  106.           
  107.           There is also a Windows NT version of SerWeb, available by
  108.           anonymous FTP from emwac.ed.ac.uk as /pub/serweb/serweb_i.zip.
  109.           
  110.    WEB4HAM
  111.           Another Windows-based server, available by anonymous FTP from
  112.           ftp.informatik.uni-hamburg.de as /pub/net/winsock/web4ham.zip.
  113.           
  114.    OS2HTTPD
  115.           An OS/2 server, written by Frankie Fan. See the home page (URL
  116.           is ftp://ftp.netcom.com/pub/kf/kfan/overview.html ) for
  117.           details, or fetch the package by anonymous FTP from
  118.           ftp.netcom.com in the directory pub/kf/kfan.
  119.           
  120.   5.2.4: MSDOS AND NOVELL NETWARE SERVERS
  121.   
  122.    KA9Q   KA9Q NOS (nos11c.exe) is a internet server package for DOS that
  123.           includes HTTP and Gopher servers. It can be obtained via
  124.           anonymous FTP from one of the following sites:
  125.           
  126.  
  127. inorganic5.chem.ufl.edu
  128. biochemistry.cwru.edu
  129.  
  130.    GLACI-HTTPD
  131.           GLACI-HTTPD is a Netware Loadable Module which allows a Novell
  132.           NetWare server to become a World Wide Web server (URL is
  133.           http://www.glaci.com/info/glaci-httpd.html ).
  134.           
  135.    
  136.    
  137.   5.2.5: VMS SERVERS
  138.   
  139.    CERN HTTP for VMS
  140.           A port of the CERN server to VMS. Available at the URL
  141.           http://delonline.cern.ch/disk$user/duns/doc/vms/distribution.html .
  142.           
  143.    Region 6 Threaded HTTP Server
  144.           A native VMS server which uses DECthreads(tm). This is a
  145.           potentially major performance advantage because VMS has a high
  146.           overhead for each process, which is a problem for the
  147.           frequently-forking NCSA and CERN servers that began life under
  148.           Unix. A multithreaded server avoids this overhead. Available at
  149.           the URL http://kcgl1.eng.ohio-state.edu/www/doc/serverinfo.html .
  150.           
  151.    
  152.    
  153.   5.2.6: AMIGA SERVERS
  154.   
  155.    NCSA's Unix server has been ported to the Amiga, and is bundled with
  156.    the AMosaic browser. See the URL
  157.    http://insti.physics.sunysb.edu/AMosaic/home.html for details.
  158.    
  159.   5.2.7: VM/CMS SERVERS
  160.   
  161.    A VM/CMS web server is available; see the URL
  162.    http://ua1vm.ua.edu/~troth/rickvmsw/rickvmsw.html for more
  163.    information. If you don't yet have a web browser to try this URL with,
  164.    check out the VM/CMS Browsers section.
  165.    
  166.   5.2.8: YEAH, BUT WHICH IS BEST?
  167.   
  168.    
  169.    
  170.    To find out which server is best for your needs, you will want to
  171.    consult Paul Hoffman's Server Comparison Chart (URL is
  172.    http://sunsite.unc.edu/boutell/faq/chart.html ). That document is also
  173.    available by anonymous FTP from ftp.netcom.com in the directory
  174.    pub/bo/boutell/faq.
  175.    
  176. 5.3: Producing HTML documents
  177.  
  178.    HTML is the simple markup system used to create hypertext documents.
  179.    There are three ways to produce HTML documents: writing them yourself,
  180.    which is not a very difficult skill to acquire, using an HTML editor,
  181.    which assists in doing the above, and converting documents in other
  182.    formats to HTML. The following three sections cover these
  183.    possibilities in sequence.
  184.    
  185.   5.3.1: WRITING HTML DOCUMENTS YOURSELF
  186.   
  187.    You can write an HTML document with any text editor. Try the "source"
  188.    button of your browser (or "save as" HTML) to look at the HTML for a
  189.    page you find particularly interesting. The odds are that it will be a
  190.    great deal simpler than you would expect. If you're used to marking up
  191.    text in any way (even red-pencilling it), HTML should be rather
  192.    intuitive.
  193.    
  194.    A beginner's guide to HTML is available at the URL
  195.    http://www.ncsa.uiuc.edu/General/Internet/WWW/HTMLPrimer.html . You
  196.    can also find a plain text version (at the URL
  197.    ftp://ftp.ncsa.uiuc.edu/ncsapubs/WWW/HTMLPrimer.txt) and a compressed
  198.    Postscript version (at the URL
  199.    ftp://ftp.ncsa.uiuc.edu/ncsapubs/WWW/HTMLPrimer.ps.Z). (Since the
  200.    latter two are FTP URLs, you can fetch them by hand using FTP if you
  201.    do not yet have a web browser.)
  202.    
  203.    There is also an HTML primer by Nathan Torkington at the URL
  204.    http://www.vuw.ac.nz/who/Nathan.Torkington/ideas/www-html.html .
  205.    
  206.   5.3.2: HTML EDITORS
  207.   
  208.    Of course, most folks would still prefer to use a friendlier,
  209.    graphical editor. Some editors are WYSIWYG (What You See Is What You
  210.    Get), or close to it; others simply assist you in writing HTML by
  211.    plugging in the desired markup tags for you from a menu.
  212.    
  213.    Fans of the EMACS editor can use EMACS and html-helper-mode , an EMACS
  214.    "mode" for HTML editing (URL is http://www.reed.edu/~nelson/tools/ ).
  215.    
  216.    There is also another Emacs HTML mode, html-mode.el (URL is
  217.    ftp://ftp.ncsa.uiuc.edu/Web/html/elisp/html-mode.el ).
  218.    
  219.    For Microsoft Windows users, there is an editor called HTML Assistant
  220.    with features to assist in the creation of HTML documents. It can be
  221.    had by anonymous FTP from ftp.cs.dal.ca in the directory /htmlasst/.
  222.    Read the README.1ST file in this directory for information on which
  223.    files to download.
  224.    
  225.    ANT_HTML.DOT is a Word for Windows 6.0 template designed to convert
  226.    Word documents into HTML documents in a WYSIWYG environment. It
  227.    includes a demo version of the ANT_PLUS utility, which converts HTML
  228.    files to WYSIWYG. ANT_PLUS also converts HTML files to ASCII, RTF, or
  229.    any other format possible in Word 6.0. Contact jswift@freenet.fsu.edu
  230.    if you need more information.
  231.    
  232.    A WYSIWYG editor for the Web, SoftQuad HoTMetaL, is available for
  233.    downloading at NCSA and numerous other sites. Many mirror sites exist;
  234.    if you can't get through to one, try another, don't give up! That's
  235.    what mirror sites are for. (Also be sure to use the copy closest to
  236.    you geographically if possible.) Hotmetal is available for both Sun
  237.    Sparc systems and Windows systems; note that Windows users need at
  238.    least 6 megabytes of free memory. (A 2-megabyte swap file should just
  239.    barely do the trick on a 4MB machine.)
  240.    
  241.    Known mirrors:
  242.      * ftp://ftp.ncsa.uiuc.edu/Web/html/hotmetal/
  243.      * ftp://ftp.ifi.uio.no/pub/SGML/HoTMetaL
  244.      * ftp://sgml1.ex.ac.uk/SoftQuad
  245.      * ftp://src.doc.ic.ac.uk/packages/WWW/ncsa/html/hotmetal/
  246.      *
  247.        ftp://askhp.ask.uni-karlsruhe.de/pub/infosystems/mosaic/contrib/Sof
  248.        tQuad
  249.      * ftp://ftp.cs.concordia.ca/pub/www
  250.      *
  251.        
  252.    You need a Sun SPARC or Microsoft Windows system and 6MB of disk (6MB
  253.    of RAM minimum for MS Windows; swap files count). Other Unix systems
  254.    may be supported by the time you read this; have a look on one of the
  255.    sites above.
  256.    
  257.    Because it is context-sensitive, HoTMetaL guides users in creating new
  258.    HTML documents and in cleaning up old ones. A Publish command changes
  259.    appropriate SRC and HREF attributes from local paths to http
  260.    locations. For more information, FTP the README file from the same
  261.    directory, or send email to hotmetal@sq.com. A HoTMetaL Pro
  262.    commercially supported version is available for purchase from SoftQuad
  263.    and its resellers.
  264.    
  265.    Also see Gabriel White's reviews of MS Windows HTML editors (URL is
  266.    http://werple.mira.net.au/%7Egabriel/web/html/editors/ ). Another
  267.    option, if you have an SGML editor, is to use it with the HTML DTD
  268.    (URL is http://info.cern.ch/hypertext/WWW/MarkUp/DTDHeading.html ).
  269.    
  270.    An editor for all X users: TkWWW (listed above under X browsers)
  271.    supports WYSIWYG HTML editing; and since it's a browser, you can try
  272.    out links immediately after creating them.
  273.    
  274.    Another editor for X users: Phoenix (URL is
  275.    http://www.bsd.uchicago.edu/ftp/pub/phoenix/README.html ) is a fully
  276.    WYSIWYG HTML editor which insulates the user from direct control of
  277.    the HTML tags. Available by anonymous FTP from www.bsd.uchicago.edu in
  278.    the pub/phoenix subdirectory.
  279.    
  280.    Also for X users, there is a package called htmltext which supports
  281.    WYSIWYG HTML editing. More information is available at the URL
  282.    http://web.cs.city.ac.uk/homes/njw/htmltext/htmltext.html .
  283.    
  284.    For Macintosh users, there is a near-WYSIWYG package called HTML
  285.    Editor (URL is http://dragon.acadiau.ca:1667/~giles/HTML_Editor).
  286.    
  287.    ANT_HTML is a Word for the Macintosh template designed to convert Word
  288.    documents into HTML documents in a WYSIWYG environment. It includes a
  289.    demo version of the ANT_PLUS utility, which converts HTML files to
  290.    WYSIWYG. ANT_PLUS also converts HTML files to ASCII, RTF, or any other
  291.    format possible in Word. At the time of this writing it was scheduled
  292.    to have been released on the Macintosh (it has long been available for
  293.    Windows). Contact jswift@freenet.fsu.edu for more information. Also
  294.    for Macintosh users, the BBEdit HTML extensions allow the BBEdit and
  295.    BBEdit Lite text editors for the Macintosh to conveniently edit HTML
  296.    documents. (URL is http://www.uji.es/bbedit-html-extensions.html .)
  297.    You can also obtain the extensions package by anonymous ftp from
  298.    sumex-aim.stanford.edu as info-mac/bbedit-html-ext-b3.hqx.
  299.    
  300.    There is an alternative BBEdit extension package available as well
  301.    (URL is http://www.york.ac.uk/~ld11/BBEditTools.html ). it is
  302.    available by FTP from ftp.york.ac.uk in the directory
  303.    /pub/users/ld11/BBEdit_HTML_Tools.sea.hqx.
  304.    
  305.    NCSA's List of Filters and Editors, for which the URL is
  306.    http://www.ncsa.uiuc.edu/SDG/Software/Mosaic/Docs/faq-software.html#ed
  307.    itors, mentions several editors, including two for MS Windows. In some
  308.    cases, the "editor" amounts to a set of macros for an existing word
  309.    processor, which can provide a near-WYSIWYG environment.
  310.    
  311.    Note that this URL contains uppercase and lowercase letters; certain
  312.    operating systems won't allow mixed case on the command line, or will
  313.    only allow it if it is quoted (VMS), so if you are launching Lynx or
  314.    another client and specifying a URL at the command line, try quoting
  315.    the URL in double-quotes ("URL").
  316.    
  317.   5.3.3: CONVERTING OTHER FORMATS TO HTML
  318.   
  319.    There is a collection of filters for converting your existing
  320.    documents (in TeX and other non-HTML formats) into HTML automatically,
  321.    including filters that can allow more or less WYSIWYG editing using
  322.    various word processors:
  323.    
  324.    Rich Brandwein and Mike Sendall's List at CERN (URL is
  325.    http://info.cern.ch/hypertext/WWW/Tools/Filters.html ).
  326.    
  327.    (Note that this URL contains uppercase and lowercase letters; certain
  328.    operating systems such as VMS require you to quote mixed-case URLs
  329.    when launching a borwser from the command line. This is NOT a bug in
  330.    the browser.)
  331.    
  332.    There is also a Word for Windows template for writing HTML documents,
  333.    available at the URL http://www.gatech.edu/word_html/release.htm .
  334.    
  335.   5.3.4: CHECKING YOUR HTML FOR ERRORS
  336.   
  337.    Tools to validate your HTML documents (check them for errors) are
  338.    available. There is a form at the URL
  339.    http://www.hal.com/%7Econnolly/html-test/service/validation-form.html
  340.    which will check HTML documents for errors according to the latest
  341.    specification; note that you are encouraged to set up the program on
  342.    your own system if you make heavy use of the form. There is also a
  343.    tool which will check the links in your documents for links to
  344.    nonexistent resources, such as pages that have moved (URL is
  345.    http://wsk.eit.com/wsk/dist/doc/admin/webtest/verify_links.html ).
  346.    
  347.    Also try weblint (URL is
  348.    http://www.khoros.unm.edu/staff/neilb/weblint.html ), a Perl script
  349.    that checks your HTML for errors; you can even try it out over the web
  350.    through an HTML form. The script is available by anonymous FTP from
  351.    ftp.khoros.unm.edu in the directory pub/perl/www.
  352.    
  353.    Another such tool is htmlchek (URL is:
  354.    http://uts.cc.utexas.edu/~churchh/htmlchek.html ), which checks HTML
  355.    documents for errors, creates a cross-reference, automatically expands
  356.    entities (such as European characters) to their proper HTML form, and
  357.    performs other useful services. htmlchek is available by anonymous FTP
  358.    from ftp.cs.buffalo.edu in the directory pub/htmlchek.
  359.    
  360. 5.4: How do I publicize my work?
  361.  
  362.    There are several things you can do to publicize your new HTML server
  363.    or other offering:
  364.      * Post to comp.infosystems.www.announce. PLEASE READ THE CHARTER
  365.        POSTING FIRST. In general, always read a newsgroup first to
  366.        familiarize yourself before posting to it.
  367.      * Submit it to the NCSA What's New Page at the URL
  368.        http://www.ncsa.uiuc.edu/SDG/Software/Mosaic/Docs/whats-new.html
  369.        (see the page for details on how to submit your listing!).
  370.      * Post it to the newsgroup comp.infosystems.announce. Please read
  371.        the group first to get a feel for the contents. You should not
  372.        post to comp.infosystems.www.users,.misc,.providers, etc., but if
  373.        you feel compelled to do so, please choose .misc as announcements
  374.        are of interest to both providers and users (and those who wear
  375.        both hats).
  376.      * Submit it to the maintainers of various catalogs, such as the WWW
  377.        Virtual Library (at the URL
  378.        http://info.cern.ch/hypertext/DataSources/bySubject/Overview.html
  379.        ) and the ALIWEB index (at the URL
  380.        http://web.nexor.co.uk/aliweb/doc/aliweb.html ).
  381.      * Read Gareth Rees' guide to publishing on the World Wide Web. (URL
  382.        is http://www.cl.cam.ac.uk/users/gdr11/publish.html ).
  383.        
  384. 5.5: Can I buy space on an existing server?
  385.  
  386.    Yes, you can. A list of sites offering WWW space for lease is
  387.    available (at the URL http://union.ncsa.uiuc.edu/www/leasing.shtml ).
  388.    
  389. 5.6: How fast does my net connection need to be?
  390.  
  391.    The following response to this very-frequently-asked-question was
  392.    provided by Mike Meyer (mwm@contessa.phone.net).
  393.    
  394.      The answer is "It depends." What it depends on is what kind of
  395.      things you want to provide on your server. Here are some rules of
  396.      thumb to use when deciding what kind of connection you need for your
  397.      server.
  398.      
  399.      The first rule of thumb is:
  400.      
  401.      Don't worry about simultaneous access.
  402.      
  403.      Unless you have a very large site, simultaneous access is not a
  404.      problem. If you have a very large site, you need as much bandwidth
  405.      as you can afford. There is a bit more about this below.
  406.      
  407.      The second rule of thumb is:
  408.      
  409.      It should take at most 5 seconds to send a page.
  410.      
  411.      The five second rule dates from command line days, when that was
  412.      about how long people would wait before getting impatient with the
  413.      system. It seems like a reasonable number to use now.
  414.      
  415.      Since external images/audio/etc. are somewhat exceptional, allow
  416.      more time for them. If you think they should have the same
  417.      restrictions as above, buy the bandwidth your site will need to do
  418.      so. However, the rule of thumb for external images/audio/etc is:
  419.      
  420.      It should take at most 30 seconds to send an external file.
  421.      
  422.      Given these rules, it's pretty straightforward to work out how large
  423.      an HTML page and external files can be. At least, it's easy after
  424.      you simplify things by ignoring IP overhead on the line, compression
  425.      on modem lines, and anything that's less than 10% of the total (or
  426.      even a little bit more than 10%).
  427.      
  428.      The one simplification not to ignore is the multiple packet
  429.      round-trips it takes to get data flowing through an HTTP channel.
  430.      For modem lines, this is nearly a second for each HTTP connection,
  431.      which is significant. For leased lines, it's more like .1 or .2
  432.      seconds, which is not significant.
  433.      
  434.      On a 14.4 line assumed to be sending 1.4K bytes of data/second, with
  435.      a 1 second startup, you get 4 * 1.4 or 5.6K of HTML. If you want to
  436.      include a single inline image, that's 2 seconds of startup, so
  437.      you're down to 3 * 1.4 or 4.2K of HTML + image. This means smallish
  438.      HTML pages, and simple inline images. For external files, you get 29
  439.      * 1.4 or 40K, which is still a small image. If you have a 28.8 line,
  440.      you get to double those figures; for a 9600 line, figure 2/3rds of
  441.      that size.
  442.      
  443.      On a 56K leased line assumed to be sending 5K/second, you get 25K of
  444.      HTML, or mixed HTML/data. For external images, it's 150K. That
  445.      should cover any reasonable HTML document, and small to medium
  446.      external files. An MPEG movie might be a bit much.
  447.      
  448.      With a T1 line assumed to be sending 150K/second, you get 750K of
  449.      HTML, or 4.5 megabytes in an external file. Barring very large
  450.      animations, this should be sufficient for anything you want to
  451.      serve. More would be faster, but it also gets drastically more
  452.      expensive.
  453.      
  454.      Given the above guidelines, let's look at simultaneous access again.
  455.      Under the worst case conditions, you're using all of your line for
  456.      HTML pages, each of which takes 5 seconds to send, so your server is
  457.      sending 12 pages a minute, or 720 pages an hour, or 17,000 pages a
  458.      day (pages, not accesses; each inline image in a page generates an
  459.      access, unless the client cached it). This makes you one of the
  460.      busier sites on the web. While you'll have contention problems
  461.      before you get to this point, anything but a modem connection will
  462.      be sending most pages in a small fraction of five seconds, which
  463.      should leave plenty of bandwidth with no contention. If you have
  464.      this kind of access rates on a modem line, you should seriously
  465.      consider upgrading your connection.
  466.      
  467.      The bottom line on simultaneous access is that the WWW server is
  468.      more likely to have contention with other uses of the line than with
  469.      itself. Since I don't know what else you use your line for, I can't
  470.      factor it in. You'll have to consider that issue yourself.
  471.      
  472.    
  473.    
  474.   5.7.1: HOW DO I SET UP A CLICKABLE IMAGE MAP?
  475.   
  476.    
  477.    
  478.    There are really two issues here: how to indicate in HTML that you
  479.    want an image to be clickable, and how to configure your server to do
  480.    something with the clicks returned by Mosaic, Chimera, and other
  481.    clients capable of delivering them.
  482.    
  483.    You can read about image maps and the NCSA server at the URL
  484.    http://hoohoo.ncsa.uiuc.edu/docs/setup/admin/Imagemap.html .
  485.    
  486.    Using imagemaps requires that you create a map file; you can do this
  487.    by hand or with a WYSIWYG tool.
  488.    
  489.    VERY IMPORTANT: Creating imagemaps requires a real web server (not
  490.    an FTP server) and a cooperative web server administrator. It is not
  491.    usually as simple as wrapping a link around an IMG SRC tag and adding
  492.    the ISMAP directive; the server must also be told about the map file,
  493.    and the way to accomplish this varies from server to server. So read
  494.    your server documentation, and don't waste time making maps before
  495.    making sure you have the necessary tools to deliver them.
  496.    
  497.    Mapedit
  498.           Mapedit (URL is:
  499.           http://sunsite.unc.edu/boutell/mapedit/mapedit.html ) is a
  500.           WYSIWYG imagemap editing tool for Microsoft Windows and the X
  501.           Window System.
  502.           
  503.    MapMaker
  504.           For users of John Bradley's xv image display software for the
  505.           X Window System, Mapmaker can turn the miniature images created
  506.           by xv's Visual Schnauzer into an imagemap. This is useful if
  507.           you would like to make an entire directory of images available
  508.           (but note that you should also make textual links to allow
  509.           those with text- based browsers to download the images for
  510.           external viewing). (URL is:
  511.           http://icg.stwing.upenn.edu:80/~mengwong/mapmaker.html )
  512.           
  513.    WebMap
  514.           On the Macintosh, you may want to use WebMap (URL is
  515.           ftp://ftp.uwtc.washington.edu/pub/Mac/Network/WWW ). . It
  516.           produces both NCSA and CERN-compatible maps, which can also be
  517.           used with MacImagemap and a Macintosh-based server (MacImagemap
  518.           is found in the same directory). Alternatively, you may want to
  519.           use MacMapMaker, also available from
  520.           ftp://ftp.uwtc.washington.edu/pub/Mac/Network/WWW (the same
  521.           directory).
  522.           
  523.    Tkmapedit
  524.           For Unix systems and other systems on which the Tk/Tcl language
  525.           toolkit has been installed, Tkmapedit provides a WYSIWYG
  526.           imagemap editor which is capable of directly testing links if
  527.           the tkWWW web browser is available. Available by anonymous FTP
  528.           from the TCL archive on ftp.aud.alcatel.com.
  529.           
  530.    
  531.    
  532.   5.7.2: HOW DO I MAKE A "LINK" THAT DOESN'T LOAD A NEW PAGE?
  533.   
  534.    
  535.    
  536.    Such links are useful when a form is intended to perform some action
  537.    on the server machine without sending new information to the client,
  538.    or when a user has clicked in an undefined area in an image map; these
  539.    are just two possibilities.
  540.    
  541.    Rob McCool of NCSA provided the following wisdom on the subject:
  542.  
  543. Yechezkal-Shimon Gutfreund (sg04@gte.com) wrote:
  544. : Ok, here is another bizzare request from me:
  545.  
  546. : I am currently running scripts which I "DO NOT" want to return
  547. : any visible result. That is, not text/plain, not text/HTML, not
  548. : image/gif. The entire results are the side effects of the
  549. : script and nothing should be returned to the viewer.
  550.  
  551. : It would be nice to have an internally supported null viewer
  552. : so that I could do this, more "cleanly" (ok, ok, I hear your groans).
  553.  
  554.    
  555.    
  556.    HTTP now supports a response code of 204, which is no operation. Some
  557.    browsers such as Mosaic/X 2.* support it. To use it, make your script
  558.    a nph script and output an HTTP/1.0 204 header. Something like:
  559.    
  560.    HTTP/1.0 204 No response Server: Myscript/NCSA httpd 1.1
  561.    
  562.    (You can learn more about nph scripts from the NCSA server
  563.    documentation at the URL http://hoohoo.ncsa.uiuc.edu/docs .)
  564.    Essentially they are scripts that handle their own HTTP response
  565.    codes.
  566.    
  567.   5.7.3: WHERE CAN I LEARN HOW TO CREATE FILL-OUT FORMS?
  568.   
  569.    Writing an HTML form is easy, but the form doesn't accomplish anything
  570.    until you write a CGI program to interpret the results on the server
  571.    side! For more information, see section 5.7.14.
  572.    
  573.    See the section on email forms for a simple solution to the most
  574.    commonly desired form.
  575.    
  576.     5.7.3.1: How can I create hidden fields in forms (keeping state)?
  577.     
  578.    Use INPUT TYPE=hidden. An example:
  579.  
  580. <INPUT TYPE=hidden NAME=state VALUE="hidden info to be returned with form">
  581.  
  582.    By now, most browsers can handle the hidden type, but understand that
  583.    some browsers will fail to hide the field (and probably confuse the
  584.    user). Note that "hidden" doesn't mean "secret"; the user can always
  585.    click on "view source".
  586.    
  587.     5.7.3.2: How can users send me email through their browsers?
  588.     
  589.    There are two ways:
  590.    
  591.    Using a mailto: URL
  592.           You can simply create a link which looks like this:
  593.           
  594.           <A HREF="mailto:me@my.address">Send Me Mail</A>
  595.           
  596.           This works great for browsers that support the mailto: URL.
  597.           Perhaps 80% of web users will be able to use such a link. But
  598.           not all browsers support it.
  599.           
  600.    Installing an email form
  601.           If you have access to the server's configuration files, or if
  602.           your server administrator permits users to create their own CGI
  603.           scripts, you can create a form which sends mail to you from any
  604.           browser that supports forms. I've written a simple email forms
  605.           package (URL is: http://siva.cshl.org/email/index.html ), which
  606.           does it in ANSI C. There is also a package written in Perl,
  607.           known as the WWW Mailto Gateway (URL is
  608.           http://www.mps.ohio-state.edu/mailto/mailto_info.html ).
  609.           GetComments (URL is:
  610.           http://everest.cs.ucdavis.edu/~hoagland/getcomments.html) is a
  611.           more general package, also written in Perl, which can handle
  612.           many different types of comment forms.
  613.           
  614.           If you want to learn how these forms actually work, see section
  615.           5.7.14.
  616.           
  617.    
  618.    
  619.   5.7.4: HOW DO I COMMENT AN HTML DOCUMENT?
  620.   
  621.    
  622.    
  623.    Use the <!-- tag at the beginning of EACH line commented out; close
  624.    this for EACH line with the --> tag. Note that comments do not nest,
  625.    and the sequence "--" may not appear inside a comment except as part
  626.    of the closing --> tag. (It's officially allowed, but some browsers
  627.    won't handle it properly.)
  628.    
  629.    You should not try to use this to "comment out" HTML that would
  630.    otherwise be shown to the user, since some browsers (notably Mosaic)
  631.    will still pay attention to tags inside the comment and close it
  632.    prematurely.
  633.    
  634.    Thanks to Joe English for clearing up this issue.
  635.    
  636.   5.7.5: HOW CAN I CREATE DECENT-LOOKING TABLES AND STOP USING <PRE>... </PRE>?
  637.   
  638.    Tables are a standard feature in HTML Level 3, a new version of HTML.
  639.    Unfortunately, they are at present implemented only by the latest NCSA
  640.    Mosaic versions and the Viola and Emacs-W3 browsers, to my knowledge.
  641.    In addition, most implementations are incomplete. In some
  642.    implementations, at the time of this writing, text in tables cannot be
  643.    selected and/or cannot be a link.
  644.    
  645.    However, there is a way to use HTML Level 3 tables now and convert
  646.    them automatically to HTML, allowing you to design proper tables and
  647.    install those pages directly when table support arrives in the
  648.    majority of clients. You can do this using the html+tables package, by
  649.    Brooks Cutter (bcutter@paradyne.com), which is available for anonymous
  650.    ftp from sunsite.unc.edu in the directory
  651.    pub/packages/infosystems/WWW/tools/html+tables.shar. This package
  652.    requires the shell language Perl, which is primarily used on Unix
  653.    systems but is also available for other systems (such as MSDOS
  654.    machines). html+tables accepts HTML Level 3 and outputs html using the
  655.    <PRE>...</PRE> construct to represent tables, allowing you to write
  656.    HTML Level 3 now, knowing that it will look better when clients are
  657.    ready for it.
  658.    
  659.   5.7.6: WHAT IS HTML LEVEL 3 AND WHERE CAN I LEARN MORE ABOUT IT?
  660.   
  661.    HTML Level 3, also known as HTML+, is an enhanced version of HTML
  662.    designed to address some of the limitations of HTML. HTML Level 3
  663.    supports true tables, right-justified text, centered text, line breaks
  664.    that do not double space, and many other desired features.
  665.    
  666.    However, most clients support only a handful of HTML Level 3 features
  667.    (such as the partial implementation of tables in Mosaic) at the time
  668.    of this writing. If you have access to a Unix system with the X Window
  669.    System installed, you can try out many features of HTML Level 3 using
  670.    the experimental Arena browser.
  671.    
  672.    You can access information about new developments in HTML at the CERN
  673.    server (at the URL
  674.    http://info.cern.ch/hypertext/WWW/MarkUp/MarkUp.html ).
  675.    
  676.    (HTML Level 1 is the original version. HTML Level 2 is essentially the
  677.    same, but with the addition of forms.)
  678.    
  679.   5.7.7: HOW CAN I MAKE TRANSPARENT AND INTERLACED GIFS? AND WHAT ARE THEY?
  680.   
  681.    Transparent GIFs are useful because they appear to blend in smoothly
  682.    with the user's display, even if the user has set a background color
  683.    that differs from that the developer expected. They do this by
  684.    assigning one color to be transparent -- if the web browser supports
  685.    transparency, that color will be replaced by the browser's background
  686.    color, whatever it may be.
  687.    
  688.    Interlaced GIFs appear first with poor resolution and then improve in
  689.    resolution until the entire image has arrived, as opposed to arriving
  690.    linearly from the top row to the bottom row. This is great to get a
  691.    quick idea of what the entire image will look like while waiting for
  692.    the rest. This doesn't do much for you if your web browser doesn't
  693.    support progressive display as the image is downloaded, but
  694.    non-progressive-display web browsers will still display interlaced
  695.    GIFs once they have arrived in their entirety.
  696.    
  697.    To create transparent and interlaced GIFs, check out David Koblas'
  698.    giftool, a program which can manipulate those options and many more
  699.    aspects of your GIF file.
  700.    
  701.    In addition, there is a document explaining transparent GIFs available
  702.    at the URL http://melmac.corp.harris.com/transparent_images.html . You
  703.    can fetch the program giftrans by anonymous ftp from
  704.    ftp.rz.uni-karlsruhe.de at the path /pub/net/www/tools/giftrans.c.
  705.    
  706.    There is also a Perl Script (URL is:
  707.    http://www.omron.co.jp:80/~jfriedl/perl/ ) which makes transparent
  708.    GIFs.
  709.    
  710.    There is also a utility for the Macintosh, Transparency (URL is:
  711.    http://www.med.cornell.edu/~giles/projects.html#transparency).
  712.    
  713.   5.7.8: HOW COME MAILTO: URLS DON'T WORK?
  714.   
  715.    The mailto: URL is a feature found in Lynx, Netscape, Spry Mosaic, the
  716.    latest NCSA Mosaics, Emacs w3 mode and many other browsers. In
  717.    general, about 80% of web browsers support mailto: at the time of this
  718.    writing. However, it is not in numerous older browsers. In the
  719.    meantime, you can set up forms which send mail to you; see Section
  720.    5.7.3.2.
  721.    
  722.   5.7.9: HOW CAN I RESTRICT AND CONTROL ACCESS TO MY SERVER?
  723.   
  724.    All major servers have features that allow you to limit access to
  725.    particular sites, and many clients have authentication features that
  726.    allow you to identify specific users. There is a tutorial on security
  727.    and user authentication with the NCSA server and Mosaic available,
  728.    written by Marc Andreessen (URL is
  729.    http://wintermute.ncsa.uiuc.edu:8080/auth-tutorial/tutorial.html ).
  730.    See your server documentation for further information.
  731.    
  732.   5.7.10: WHICH FORMAT IS BETTER FOR WWW IMAGE PURPOSES, JPEG OR GIF?
  733.   
  734.    
  735.    
  736.    JPEG does a better job with realistic images such as scanned
  737.    photographs. Most browsers cannot handle inline JPEGs, however, so you
  738.    must link to them as external images (using a regular <A HREF...>
  739.    instead of <IMG SRC...>).
  740.    
  741.    GIF does a better job with crisp, sharp images, such as those
  742.    typically used to construct buttons, graphs and the like. All browsers
  743.    that can display graphics at all can display GIFs inline.
  744.    
  745.   5.7.11: HOW CAN I MIRROR PART OF ANOTHER SERVER?
  746.   
  747.    Scripts are available to do this, but at this time they are not very
  748.    friendly to the server you are attempting to mirror; their behavior
  749.    resembles that of the more poorly written WWW robots. If you are
  750.    trying to improve access times to a distant server, you will likely
  751.    find the "proxy" capabilities of CERN's WWW server to be a more
  752.    effective and general solution to your problem.
  753.    
  754.   5.7.12: HOW CAN I KEEP ROBOTS OFF MY SERVER?
  755.   
  756.    Programs that automatically traverse the web can be quite useful, but
  757.    have the potential to make a serious mess of things. Every so often
  758.    someone will write a "depth-first" searching robot that brings servers
  759.    to their knees. See the section on writing robots (4.10) for details.
  760.    
  761.    Fortunately, most robots on the web follow a simple protocol by which
  762.    you can keep them off your server if you wish, or keep them out of
  763.    portions of your server which are robot traps (ie, they contain an
  764.    infinite number of possible links). Read the document World Wide Web
  765.    Robots, Wanderers and Spiders (URL is:
  766.    http://web.nexor.co.uk/mak/doc/robots/robots.html ) and learn about
  767.    the emerging standards for exclusion of robots from areas in which
  768.    they are not wanted. You can also read about existing robots there,
  769.    including useful cataloging robots you probably do not want to keep
  770.    off your server.
  771.    
  772.   5.7.13: HOW CAN I KEEP STATISTICS ABOUT MY WEB SERVER?
  773.   
  774.    There are several tools which can generate statistics about your web
  775.    server:
  776.    
  777.    getstats
  778.           getstats is a versatile log analyzer, also written in C, which
  779.           provides reports for various time periods with a high degree of
  780.           flexibility. Add-on packages have been written to generate
  781.           reports in HTML and also to generate graphs. You can access the
  782.           getstats home page for more information (URL is
  783.           http://www.eit.com/software/getstats/getstats.html ), or obtain
  784.           the package by anonymous FTP from ftp.eit.com in the directory
  785.           /pub/web.software/getstats.
  786.           
  787.    WebStat
  788.           WebStat is a package written in the language Python which
  789.           supplies statistics on usage by domain, country, etc., with
  790.           daily, weekly, monthly and annual reports available. You will
  791.           need Python in order to use it. See the WebStat home page (URL
  792.           is
  793.           http://www.pegasus.esprit.ec.org/people/sijben/statistics/advertisment.html
  794.           ) for details, or obtain Python from ftp.cwi.nl in
  795.           the directory /pub/python and WebStat from
  796.           ftp.pegasus.esprit.ec.org in the directory /pub/misc.
  797.           
  798.    Wusage
  799.           Wusage, which I wrote, is a C program which generates simple
  800.           weekly reports in HTML, with inline image graphs displaying
  801.           server growth and the distribution of accesses by continent.
  802.           You can also exclude irrelevant accesses (inline images, local
  803.           machines, etc.) from the results. Read the Wusage home page
  804.           (URL is http://siva.cshl.org/wusage.html ) for more
  805.           information, or obtain Wusage by anonymous FTP from
  806.           isis.cshl.org in the directory pub/wusage.
  807.           
  808.    wwwstat
  809.           wwwstat is a full-featured log analyzer written in the language
  810.           Perl. (See the newsgroup comp.lang.perl for more information
  811.           about the language.) See the wwwstat home page (URL is
  812.           http://www.ics.uci.edu/WebSoft/wwwstat/ ) for more information,
  813.           or obtain the package by anonymous FTP from liege.ics.uci.edu
  814.           in the directory /pub/arcadia/wwwstat. See also gwstat (URL is
  815.           http://dis.cs.umass.edu/stats/gwstat.html ), a package which
  816.           produces GIF graphs from the output of wwwstat.
  817.           
  818.    
  819.    
  820.   5.7.14: I WANT TO GENERATE WEB PAGES FROM A PROGRAM. DO I HAVE TO WRITE A
  821.   CUSTOM SERVER?
  822.   
  823.    No, you will not need to write a custom server. Most web servers
  824.    support one variation or another of a standard for adding your own
  825.    programs to the web server. The standard is called CGI (Common Gateway
  826.    Interface).
  827.    
  828.    Marc Hedlund has written a FAQ on CGI programming (URL is:
  829.    http://www.halcyon.com/hedlund/cgi-faq/ ) which makes a good
  830.    introduction to the subject. The standard itself can be found at NCSA
  831.    (URL is: http://hoohoo.ncsa.uiuc.edu/ ).
  832.    
  833.     5.7.14.1: How can I generate GIFs on the fly from my CGI scripts?
  834.     
  835.    If you want to generate GIF images on the fly as part of your
  836.    application, examine the gd library (URL is:
  837.    http://siva.cshl.org/gd/gd.html ). Hint: your HTML page and your
  838.    inline images are separate documents with separate URLs. Generate them
  839.    in response to separate requests! (Yes, there are tricks to speed this
  840.    up, but be careful not to break inline images on HTML pages you didn't
  841.    write that refer to your gd-generated image.)
  842.    
  843.    It's also possible to use gnuplot and the pbmplus utilities. This is
  844.    slower, but can require less programming if gnuplot is sufficient for
  845.    your purposes. (See archie for both tools.)
  846.    
  847.                   6: WHERE CAN I DISCUSS THE WORLD WIDE WEB?
  848.                                        
  849. 6.1: What newsgroups discuss the Web?
  850.  
  851.    You can find discussion of World Wide Web topics in three newsgroups,
  852.    and one newsgroup which will soon be removed:
  853.    
  854.    comp.infosystems.www.users
  855.           A forum for the discussion of WWW client software and its use
  856.           in contacting various Internet information sources. New user
  857.           questions, client setup questions, client bug reports,
  858.           resource-discovery questions on how to locate information on
  859.           the web that can't be found by the means detailed in the FAQ
  860.           and comparison between various client packages are among the
  861.           acceptable topics for this group. Please specify what browser
  862.           and what system type (Windows, Mac, Unix, etc.) your post is
  863.           about if you are asking questions about a specific program.
  864.           
  865.    comp.infosystems.www.providers
  866.           A forum for the discussion of WWW server software and the use
  867.           of said software to present information to users. General
  868.           server design, setup questions, server bug reports, security
  869.           issues, HTML page design and other concerns of information
  870.           providers are among the likely topics for this group.
  871.           
  872.    comp.infosystems.www.misc
  873.           A forum for general discussion of WWW (World Wide Web)- related
  874.           topics that are NOT covered by the other newsgroups in the
  875.           hierarchy. This will likely include discussions of the Web's
  876.           future, politicking regarding changes in the structure and
  877.           protocols of the web that affect both clients and servers, et
  878.           cetera.
  879.           
  880.    comp.infosystems.www.announce
  881.           A moderated forum for the announcement of new and updated World
  882.           Wide Web resources and software.
  883.           
  884.    comp.infosystems.www (DEFUNCT)
  885.           The old catch-all newsgroup, which may still exist on your
  886.           system but was officially removed on September 7th, 1994,
  887.           according to David Lawrence, moderator of
  888.           news.announce.newgroups. If your system still carries this
  889.           group, ask your administrator to remove it.
  890.           
  891.    
  892.    
  893. 6.2: What mailing lists discuss the Web?
  894.  
  895.    www-talk@info.cern.ch
  896.           Address: www-talk@info.cern.ch for CONTRIBUTIONS ONLY.
  897.           Administration: listserv@info.cern.ch (robot)
  898.           www-talk-request@info.cern.ch (human). Description: Technical
  899.           discussion, W3 related. Experts to experts. General questions
  900.           to the newsgroups, please. Archive: Not currently served, but
  901.           kept.
  902.           
  903.    www-announce@info.cern.ch
  904.           Address: www-announce@info.cern.ch. NOT FOR GENERAL USE -
  905.           serious low-volume announcements only. Administration:
  906.           listserv@info.cern.ch (robot),
  907.           www-announce-request@info.cern.ch (human). Description: Low
  908.           volume summary announcemements of product releases, etc.
  909.           Archive: Not currently public.
  910.           
  911.    
  912.    
  913.                             7: I WANT TO KNOW MORE
  914.                                        
  915.    
  916.    
  917.    To find out more, use the web. This FAQ hopefully provides enough
  918.    information for you to locate and install a browser on your system. If
  919.    you have system specific questions regarding FTP, networking and the
  920.    like, please consult newsgroups relevant to your particular hardware
  921.    and operating system!
  922.    
  923.    Once you're up and running, you may wish to consult the World Wide Web
  924.    Primer by Nathan Torkington. It is available at the URL
  925.    http://www.vuw.ac.nz/who/Nathan.Torkington/ideas/www-primer.html .
  926.    
  927.    Later you may return to this FAQ for answers to some of the more
  928.    advanced questions. I encourage you to check out the changes listed
  929.    early in the document each time the FAQ appears.
  930.    
  931.                                   8: CREDITS
  932.                                        
  933.    Maintainer (11/93 to present): Thomas Boutell, boutell@netcom.com
  934.    
  935.    Former Maintainer (until 11/93): Nathan Torkington,
  936.    Nathan.Torkington@vuw.ac.nz
  937.